f4a48f
@@ -1576,7 +1576,7 @@
static void createEmptyBuckets(Configuration hconf, List<Path> paths,
     Class<? extends Writable> outputClass = null;
     try {
       Serializer serializer = (Serializer) tableInfo.getDeserializerClass().newInstance();
-      serializer.initialize(null, tableInfo.getProperties());
+      serializer.initialize(hconf, tableInfo.getProperties());
       outputClass = serializer.getSerializedClass();
       hiveOutputFormat = HiveFileFormatUtils.getHiveOutputFormat(hconf, tableInfo);
     } catch (SerDeException e) {
